<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
<script>
	let str = 'afslwoqjojlfalk';
	console.log(str.startsWith('a')); //true
	console.log(str.startsWith('c')); //false

</script>
</body>
</html>